<?php include(TPL_PATH . '/admin/inc_header.php'); ?>
<?php include(TPL_PATH . '/admin/inc_top.php'); ?>

<script type="text/javascript">
$(document).ready(function() {
	$('input[type=password]').tooltip({'placement':'right'});
});
</script>

<form action="<?php p(HTTP_URL); ?>/index.php?m=admin&c=myself&a=password" method="post">
    <fieldset>
    	<legend>修改密码</legend>
    	
    	<?php if (!empty($strMsg)) { ?>
		<div class="alert alert-error">
			<button type="button" class="close" data-dismiss="alert">&times;</button>
			<?php p($strMsg) ?>
		</div>
		<?php } ?>
		
    	<label for="id_password">当前密码</label>
        <input type="password" name="password" id="id_password" title="当前在用的密码" />
    	<label for="id_password_1">新密码</label>
        <input type="password" name="password_1" id="id_password_1" title="密码由6~20位字母或数字组成" />
        <label for="id_password_2">确认新密码</label>
        <input type="password" name="password_2" id="id_password_2" title="重复输入一次新密码" />
        <br />
        <input type="submit" class="btn btn-primary" name="sub_btn" value="确认修改" />
    </fieldset>
</form>

<?php include(TPL_PATH . '/admin/inc_bottom.php'); ?>
<?php include(TPL_PATH . '/admin/inc_footer.php'); ?>